home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
CUGUK
/
COMMS
/
C101.ZIP
/
UUPC11XT.ZIP
/
RN
/
RNLIB.C
< prev
next >
Wrap
C/C++ Source or Header
|
1992-11-21
|
558b
|
38 lines
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "lib.h"
#include "hlib.h"
#include "version.h"
#include "timestmp.h"
char **host_argv;
int hostinit(int mode)
{
banner(host_argv);
printf("rn %s \n", RN_VERSION);
if (!configure(B_NEWS))
{
return TRUE; /* Configure failed */
}
return FALSE;
}
void gethostname(char *buf, int bufmax)
{
*buf = '\0';
if (strlen(E_nodename) < bufmax)
{
strcpy(buf, E_nodename);
}
return;
}